package com.ruoyi.record.domain;

import java.util.Date;
import java.util.List;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotBlank;

import com.ruoyi.common.mybatisplus.core.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;

/**
 * 申请记录对象 record_society
 * 
 * @author ruoyi
 * @date 2023-11-23
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("record_society")
public class RecordSociety extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type = IdType.AUTO)
    private Long societyId;

    /** 人员类型 */
    @NotBlank(message = "人员类型不能为空")
    private String userType;

    /** 部门id */
    private Long deptId;

    @TableField(exist = false)
    @Excel(name = "申请人")
    private String userName;

    @TableField(exist = false)
    @Excel(name = "性别", dictType = "sys_user_sex")
    private String sex;

    @TableField(exist = false)
    @Excel(name = "出生年月")
    private String birthday;

    /** 所属部门 */
    @TableField(exist = false)
    @Excel(name = "所在科室")
    private String deptName;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 参加学会 */
    @Excel(name = "参加学会、协会名称")
    private String societyTitle;

    /** 起始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    /** 截止时间 */
    @Excel(name = "截止时间")
    private String endTime;

    /** 审核标识（0未审核1待审核3已审核） */
    private String verifyFlag;

    /** 科教科 */
    @Excel(name = "科教科")
    private Long scienceId;

    /**  */
    @Excel(name = "")
    private String scienceName;

    /**  */
    @Excel(name = "")
    private String scienceFlag;

    /**  */
    @Excel(name = "")
    private String scienceOpinion;

    /** 分管领导 */
    @Excel(name = "分管领导")
    private Long scienceLeaderId;

    /**  */
    @Excel(name = "")
    private String scienceLeaderName;

    /**  */
    @Excel(name = "")
    private String scienceLeaderFlag;

    /**  */
    @Excel(name = "")
    private String scienceLeaderOpinion;

    @Excel(name = "申请时间")
    private Date createTime;


    /** 删除标识（0正常2删除） */
    @TableField(exist = false)
    private String delFlag;

    /** 申请内容信息 */
    @TableField(exist = false)
    private List<RecordSocietyContent> recordSocietyContentList;

}
